package src.test.StudentControllerTest;

import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.ynny.controller.StudentController;

public class StudentControllerTest{
    @Test
    public void test(){
        ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext.xml");

        StudentController studentController =
                applicationContext
                        .getBean("studentController", StudentController.class);
        studentController.find();
    }
}